				<Col span={24}>
          <FormItem labelCol={{ span: 3 }} wrapperCol={{ span: 21 }} label="项目标签">
            {this.state.projectTagList.map(tag =>
              <Tag key={tag.projectTagName} afterClose={() => this.tagClose(tag.projectTagName)}>
                {tag.projectTagName}
              </Tag>
            )}
            <Popover
              placement="topLeft"
              content={this.renderTag()}
              title="添加"
              trigger="click"
              visible={this.state.visible}
              onVisibleChange={(visible)=>this.setState({visible: visible})}
            >
              <Button size="small" type="dashed">+ 添加</Button>
            </Popover>
          </FormItem>
        </Col>


  renderTag = ()=>{
    const { getFieldDecorator } = this.props.form;
    return (
      <div>
        {getFieldDecorator("tag")(
          <Input />
        )}
        <div style={{textAlign: 'right',marginTop:10}}>
          <Button size="small" type="ghost" onClick={this.cancalAddTag}>取消</Button>
          <Button size="small" type="primary" onClick={this.addTag} style={{marginLeft: 10}}>添加</Button>
        </div>
      </div>
    )
  }

  tagClose = (name)=>{
    _.remove(this.state.projectTagList, (item)=>{
      return item.projectTagName == name
    });
    this.setState({
      projectTagList: this.state.projectTagList
    });
  }

  cancalAddTag = ()=>{
    this.setState({
      visible: false
    });
  }
  addTag = ()=>{
    var tag = this.props.form.getFieldsValue(['tag']).tag;
    console.log(tag);
    if(tag){
      var find = _.find(this.state.projectTagList, (item)=>{
        return item.projectTagName == tag
      })
      if(find){
        message.error('标签已存在');
      }else{
        this.state.projectTagList.push({
          projectTagName: tag
        });
        this.setState({
          visible: false,
          projectTagList: this.state.projectTagList
        });
        this.props.form.resetFields(['tag']);
      }
    }else{
      message.error('标签名不能为空');
    }
  }